﻿<ul class="nav nav-tabs nav-stacked">
    <li class="nav-header">Navigation</li>
    <li class="@("dashboard".Equals(ViewBag.MnuLevel1,
                                    StringComparison.CurrentCultureIgnoreCase)
                         ? "active"
                         : "")"><a href="@Url.Action("Index",
                             "Dashboard")"><span class="iconfa-laptop"></span>Dashboard</a></li>
    <li class="dropdown"@("database".Equals(ViewBag.MnuLevel1,
                                            StringComparison.CurrentCultureIgnoreCase)
                                  ? " active"
                                  : "")"><a href=""><span class="iconfa-pencil"></span>Database</a>
        <ul style="@("database".Equals(ViewBag.MnuLevel1,
                                       StringComparison.CurrentCultureIgnoreCase)
                             ? "display: block"
                             : "")">
            <li class="@("category".Equals(ViewBag.MnuLevel2,
                                           StringComparison.CurrentCultureIgnoreCase)
                                 ? "active"
                                 : "")"><a href="@Url.Action("Index",
                                                             "Category")">Category</a></li>
            <li class="@("article".Equals(ViewBag.MnuLevel2,
                                          StringComparison.CurrentCultureIgnoreCase)
                                 ? "active"
                                 : "")"><a href="@Url.Action("Index",
                                                             "Article")">Article</a></li>
        </ul>
    </li>
    <li class="dropdown"@("layout".Equals(ViewBag.MnuLevel1,
                                            StringComparison.CurrentCultureIgnoreCase)
                                  ? " active"
                                  : "")"><a href=""><span class="iconfa-table"></span>Layout</a>
        <ul style="@("layout".Equals(ViewBag.MnuLevel1,
                                       StringComparison.CurrentCultureIgnoreCase)
                             ? "display: block"
                             : "")">
            <li class="@("layout".Equals(ViewBag.MnuLevel2,
                                           StringComparison.CurrentCultureIgnoreCase)
                                 ? "active"
                                 : "")"><a href="@Url.Action("Index",
                                                             "Layout")">Layout</a></li>
            <li class="@("group".Equals(ViewBag.MnuLevel2,
                                          StringComparison.CurrentCultureIgnoreCase)
                                 ? "active"
                                 : "")"><a href="@Url.Action("Index",
                                                             "Group")">Group Panel</a></li>
        </ul>
    </li>
    <li class="dropdown@("system".Equals(ViewBag.MnuLevel1,
                                         StringComparison.CurrentCultureIgnoreCase)
                                 ? " active"
                                 : "")"><a href=""><span class="iconfa-certificate"></span>System</a>
        <ul style="@("system".Equals(ViewBag.MnuLevel1,
                                     StringComparison.CurrentCultureIgnoreCase)
                             ? "display: block"
                             : "")">
            <li class="@("user".Equals(ViewBag.MnuLevel2,
                                       StringComparison.CurrentCultureIgnoreCase)
                                 ? "active"
                                 : "")"><a href="@Url.Action("Index",
                                                             "User")">User</a></li>
            <li class="@("configuration".Equals(ViewBag.MnuLevel2,
                                                StringComparison.CurrentCultureIgnoreCase)
                                 ? "active"
                                 : "")"><a href="@Url.Action("Index",
                                                             "Config")">Configuration</a></li>
        </ul>
    </li>
    <li><a href="@Url.Action("Logout","User")"><span class="iconfa-signout"></span>Logout</a> </li>
</ul>
